<template>
  <div class="detailes-page">
    <container 
      idName="compositionId"
      :getHeadDetail="getHeadDetail"
      :findNetworthById="findNetworthById"
      :getMaxDown="getMaxDown"
      :getRiskRateById="getRiskRateById"
      :HistoryNetworthList="HistoryNetworthList"
      :findNetWorthMonthly="findNetWorthMonthly"
      :findNetWorthExtendBySegment="findNetWorthExtendBySegment"
      :findNetWorthMonthlyHistogram="findNetWorthMonthlyHistogram"
      :findNetWorthMonthDetailByPage="findNetWorthMonthDetailByPage"
      :findWorthMonthDistribute="findWorthMonthDistribute"
      :sublist="findClassifyByCompositionId"
    >
    </container>
  </div>
</template>

<script>
import container from '@/views/other/detailsComn.vue'
import { getHeadDetail, findNetworthById, getMaxDown, getRiskRateById, HistoryNetworthList, findNetWorthMonthly, findNetWorthExtendBySegment,
  findNetWorthMonthlyHistogram, findNetWorthMonthDetailByPage, findWorthMonthDistribute, findClassifyByCompositionId } from '@/api/combManage'

export default {
  name: 'StrategyCombManageDetails',
  components: { container },
  data() {
    return {
      getHeadDetail: Function,
      findNetworthById: Function,
      getMaxDown: Function,
      getRiskRateById: Function,
      HistoryNetworthList: Function,
      findNetWorthMonthly: Function,
      findNetWorthExtendBySegment: Function,
      findNetWorthMonthlyHistogram: Function,
      findNetWorthMonthDetailByPage: Function,
      findWorthMonthDistribute: Function,
      findClassifyByCompositionId: Function,
    }
  },
  created() {
    this.getHeadDetail = getHeadDetail
    this.findNetworthById = findNetworthById
    this.getMaxDown = getMaxDown
    this.getRiskRateById = getRiskRateById
    this.HistoryNetworthList = HistoryNetworthList
    this.findNetWorthMonthly = findNetWorthMonthly
    this.findNetWorthExtendBySegment = findNetWorthExtendBySegment
    this.findNetWorthMonthlyHistogram = findNetWorthMonthlyHistogram
    this.findNetWorthMonthDetailByPage = findNetWorthMonthDetailByPage
    this.findWorthMonthDistribute = findWorthMonthDistribute
    this.findClassifyByCompositionId = findClassifyByCompositionId
  },
}
</script>

